import React, { Component } from "react";
import { ReduxContext } from "./Context";

export default class Provider extends Component {
      constructor(props) {
            super(props);
      }

      render() {
            const { children, store } = this.props;
            
            return (
                  <ReduxContext.Provider value={store}>
                        {children}
                  </ReduxContext.Provider>
            );
      }
}
